#include "whip.h"

Whip::Whip() : m_beverage(nullptr)
{

}

Whip::Whip(Beverage *beverage)
{
    this->m_beverage = beverage;
}

double Whip::cost()
{
    return 0.3 + m_beverage->cost();
}

std::string Whip::getDescription()
{
    std::string tempStr = m_beverage->getDescription() + ", Whip";
    return tempStr;
}
